package b.i.d.l;

import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.graphics.PorterDuff.Mode;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.Drawable.ConstantState;

/* compiled from: WrappedDrawableState */
public final class e extends ConstantState {
    public int a;
    public ConstantState b;
    public ColorStateList c = null;
    public Mode d = c.g;

    public e(e eVar) {
        if (eVar != null) {
            this.a = eVar.a;
            this.b = eVar.b;
            this.c = eVar.c;
            this.d = eVar.d;
        }
    }

    public int getChangingConfigurations() {
        int i = this.a;
        ConstantState constantState = this.b;
        return i | (constantState != null ? constantState.getChangingConfigurations() : 0);
    }

    public Drawable newDrawable() {
        return new d(this, null);
    }

    public Drawable newDrawable(Resources resources) {
        return new d(this, resources);
    }
}
